package net.borlis.sample.services.facade.ws.request;

import net.borlis.dictionaries.product.HierarchyLevelDictionary;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Set;

/**
 * Created by alexander.borlis on 21.08.2014.
 */
@XmlRootElement
public class TravelPeriodCreateWithCopyRequest {

    private Long travelPeriodToCopy;
    private Set<HierarchyLevelDictionary> hierarchyLevels;
    private String name;
    private Long startDate;

    public TravelPeriodCreateWithCopyRequest() {
    }

    @XmlElement(name = "travelPeriodId")
    public Long getTravelPeriodToCopy() {
        return travelPeriodToCopy;
    }

    public void setTravelPeriodToCopy(Long travelPeriodToCopy) {
        this.travelPeriodToCopy = travelPeriodToCopy;
    }

    @XmlElement(name = "hierarchyLevels")
    public Set<HierarchyLevelDictionary> getHierarchyLevels() {
        return hierarchyLevels;
    }

    public void setHierarchyLevels(Set<HierarchyLevelDictionary> hierarchyLevels) {
        this.hierarchyLevels = hierarchyLevels;
    }

    @XmlElement(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @XmlElement(name = "startDate")
    public Long getStartDate() {
        return startDate;
    }

    public void setStartDate(Long startDate) {
        this.startDate = startDate;
    }
}
